package loan.calc.constant.dict.rate;

import lombok.AllArgsConstructor;
import lombok.Getter;
import loan.calc.constant.dict.base.BaseDictEnum;
import loan.calc.constant.dict.base.DictEnum;

/**
 * 利率浮动类型
 */
@Getter
@AllArgsConstructor
@DictEnum(value = "RateFloatType", description = "利率浮动类型")
public enum RateFloatTypeEnum implements BaseDictEnum {

    RATIO("按比例浮动"),

    POINT(  "按浮动点浮动"),
    ;
    private final String value;

    private final String description;

    RateFloatTypeEnum(String description) {
        this.value = name();
        this.description = description;
    }
}
